package my.Interceptor.common.annotation;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import my.Interceptor.common.enums.WorkType;

/**
 * 任务注解
 * @author xsw
 * @date 2017-10-25
 */
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE, ElementType.METHOD})
public @interface Work {

    WorkType[] value();
    
}
